package ma.ensao.evalmetrics.model;

import java.io.Serializable;
import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
//Mapping de la table Metriques et le bean Metriques
@Entity
@Table(name="metriques")
public class Metriques implements Serializable{
	
	private static final long serialVersionUID = -8767337896773261247L;

	private Long id;
	private double MPF;
	private double WMC;
	private double cyclo;
	private double VG;
	private double NOC;
	private double LOC;
	private double DIT;
	private double CLOC;
	private double NOM;
	private double POF;
	private double MHF;
	private double AHF;
	private double RFC;
	private double APF;
	private double Abs;
	private double MPC;
	private double TCC;
	private double I;
	private double NOI;
 	private double D;
 	private double ca;
 	private double ce;
 	private double classes;
 	
    
 	@Column(name="NOI")
    public double getNOI() {
            return NOI;
    }

    public void setNOI(double nOI) {
            NOI = nOI;
    }
	@Id
	@Column(name="id")
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
  
	@Column(name="MPF")
	public double getMPF() {
		return MPF;
	}

	public void setMPF(double mPF) {
		MPF = mPF;
	}
    
	@Column(name="WMC")
	public double getWMC() {
		return WMC;
	}

	public void setWMC(double wMC) {
		WMC = wMC;
	}
  
	
	@Column(name="VG")
	public double getVG() {
		return VG;
	}

	public void setVG(double vG) {
		VG = vG;
	}
	@Column(name="NOC")
	public double getNOC() {
		return NOC;
	}

	public void setNOC(double nOC) {
		NOC = nOC;
	}
	@Column(name="LOC")
	public double getLOC() {
		return LOC;
	}

	public void setLOC(double lOC) {
		LOC = lOC;
	}
	@Column(name="DIT")
	public double getDIT() {
		return DIT;
	}

	public void setDIT(double dIT) {
		DIT = dIT;
	}
	@Column(name="CLOC")
	public double getCLOC() {
		return CLOC;
	}

	public void setCLOC(double cLOC) {
		CLOC = cLOC;
	}
	@Column(name="NOM")
	public double getNOM() {
		return NOM;
	}

	public void setNOM(double nOM) {
		NOM = nOM;
	}
	@Column(name="POF")
	public double getPOF() {
		return POF;
	}

	public void setPOF(double pOF) {
		POF = pOF;
	}
	@Column(name="MHF")
	public double getMHF() {
		return MHF;
	}

	public void setMHF(double mHF) {
		MHF = mHF;
	}
	@Column(name="AHF")
	public double getAHF() {
		return AHF;
	}

	public void setAHF(double aHF) {
		AHF = aHF;
	}
	@Column(name="RFC")
	public double getRFC() {
		return RFC;
	}

	public void setRFC(double rFC) {
		RFC = rFC;
	}
	@Column(name="APF")
	public double getAPF() {
		return APF;
	}

	public void setAPF(double aPF) {
		APF = aPF;
	}
	

	public double getCyclo() {
		return cyclo;
	}
	@Column(name="Cyclo")
	public void setCyclo(double cyclo) {
		this.cyclo = cyclo;
	}

	
    
	@Column(name="Abstraction")
	public void setAbs(double abs) {
		Abs = abs;
		}
	public double getAbs() {
		return Abs;
	}
	public double getMPC() {
		return MPC;
	}

	public void setMPC(double mPC) {
		MPC = mPC;
	}

	public double getTCC() {
		return TCC;
	}

	public void setTCC(double tCC) {
		TCC = tCC;
	}
	
	

	public void setI(double i) {
		this.I = i;
	}
	@Column(name="I")
	public double getI() {
		return I;
	}
	@Column(name="D")
	public double getD() {
		return D;
	}
	
	public void setD(double d) {
		this.D = d;
	}
	@Column(name="ca")
	public double getCa() {
		return ca;
	}

	public void setCa(double ca) {
		this.ca = ca;
	}
	@Column(name="ce")
	public double getCe() {
		return ce;
	}

	public void setCe(double ce) {
		this.ce = ce;
	}
	@Column(name="classes")
	public double getClasses() {
		return classes;
	}

	public void setClasses(double classes) {
		this.classes = classes;
	}
	
	
	
}
